Bouncing ball animation based off the code from CSS Stars.