fix condition for mobile menu