Properly destroy CategorySwitcher in CategoryView.setupSidebar