fixed script error with test for mobile nav