Refactor slide steps, and make slide steps rewindable.