if (loop == 0) { image_speed = 0; image_index = image_number - 1; }