mobile menu collapses with jQuery script