close menu when project is selected