Moved back, forth or sideways, in time to music perhaps (6)
I believe the answer is:
swayed
(Other definitions for swayed that I've seen before include "Being under the influence" , "Ruled; influenced" , "Moved back and forth or sideways" , "Brought round" , "Rocked to and fro" .)