Looking at this PR, I'm going to suggest an alternative approach that provides more flexibility and no hardcoding (like `#search-refine-type`).

When initialising the `lhnav`, we can add a `collapse: true/false` property to the pages that are being defined. This then adds a `oae-collapse` class on the list item, which can be used to determine whether or not to collapse the navigation after clicking. This will provide us enough freedom to do both regular lhnavs and search, as well as certain actions that don't require collapsing.