Add gravity to the bounce simulation.