don stop pacman if it cannot change direction