When the leaflet is folded, and you go back from a subpage, the page is still active in the sidebar. Instead, the sidebar should reset to its normal state with no active items.