It's better to affect the element only when the swicher shows, and the effect should be removed after the switcher got hid. So you can see the first case is to add the listener and the second one is to remove it.