Quantum smoothing of mechanical motion