added screen bounds for the ball