Implemented 'gravity' for jump