sway (from) side to side
To continue moving, swinging, bending, tilting, etc., slowly in one direction and then back in the opposite direction. The structure swayed from side to side, threatening to topple at any given minute. Everyone in the crowd was swaying side to side in time with the song.
Farlex Dictionary of Idioms. © 2024 Farlex, Inc, all rights reserved.