sets up gravity for bouncing