Switching a spin valve back and forth by current-induced domain wall motion