drawing panel animation of ball bouncing around panel