backward_and_forward
1. [ adverb ] moving from one place to another and back again
Synonyms: to_and_fro back_and_forth
Examples:

"he traveled back and forth between Los Angeles and New York"