restricting position to initial_x - left_pos