cleanup. duration from previous. reset of velocities and accelerations.