Remove view switcher as dependency
ensure open and close don't fire at the same time