added media query and js for the mobile nav menu