how to control stopping and holding Stepper