added gravity changes, only trigger when play is in the air