Reciprocate

To move alternately back and forth.