Remove unused code from FoldingViewSwitch