close menu on route change