Middle movement logic revised, no jumping