changed the way the character jumps