a mass of people looking and moving in the same general direction.
A mass of people moving the same way.
In the same general direction is moving the same way.
If people are 'moving in the same general direction' they can also be simply described as 'moving the same way'.
A mass of people moving in the same direction is a mass of people moving the same way.