sway

(verb) swing

move back and forth (generic term)