added the gravity to the game