layer switcher bug fix

Switcher disappears when closing during opening. Solution: Never
close/open when sliding.