fixed jump to work with gravity