reset gravity before jumping (because walking down a slope counts as falling right now)