- revert changes of taking the acceleration and deceleration events out of the stop loop