adjustment of determining the direction of movement