add script to automatically close hamburger nav on mobile