resizing the ball