reset state for folder switches