W hen they went, they went in their four directions: they didn’t turn when they went.
Whenever they moved, they moved in any of their four directions without turning as they moved.