hide menu when link is clicked