Close menu panel when clicking on link to current page.