Inexperienced with steppers here, but after seeing those comments, wouldn't you want to move until the switch activates and then back until it releases? Then your home position should never activate the switch?
Oh wait, that's what you said in the end. But - one step at a time instead of at full speed.