Remove unused views
Fold inactive items