bouncing ball: requestAnimationFrame