if (image_index > 3) image_speed = 0