fixed movement and animation (except near walls)