movement and wall collision done