Two servos one sweep other button activated

After a good nights sleep I did get it working. @groundfungus and @Robin2 were correct I did not move all the code into the for loop. When I did read the button in the for loop the door would open at any time but the sweep would stop. I will have to do some hard thinking to get @robin2 idea going but I think he is right that is the only way to get both going at the same time. Thanks for the help and good ideas!