move back and forth

verb

1.
move in one direction and then into the opposite direction