added handler to close mobile collapser after navigation