One Servo with Two Switches

I also want it to continue from previous point.