Fixed the JS toggle for mobile nav tabs