bouncing ball with mouse interactions