Improved collision detection and jump anim