move side to side
oscillate
verb
-
To vary above and below a mean value.
-
To vacillate between conflicting opinions, etc.
-
To swing back and forth, especially if with a regular rhythm.
How often have the words move side to side and oscillate occurred in a corpus of books? (source: Google Ngram Viewer )