Made switcher configurable with 'switch-stay' class, moved hiding logic to global initialization.