Active item in sidebar remains active when folded
When the leaflet folds, the active item remains active. This is a problem because
- it doesn't make sense conceptually
- it's impossible to open the active item's content pane by clicking it
Instead, when the leaflet is folded there should not be any active items.