Make menu close when link is clicked