Menu not working properly on iOS