added movement to the ball
Detection of boundaries detected