Quantum particles in a moving potential