We'll need to add the use of:stop() "Sets a new target position that causes the stepper to stop as quickly as possible..."runToPosition() "Moves the motor at the currently selected constant speed (forward or reverse) to the target position..."

Now lets rev up the minimum speed:setMaxSpeed() "Sets the maximum permitted speed."