Added jumping collision detection