Change the nav-close check for closing the mobile nav