close menu if link in menu is clicked