Dropdown menu fix for iOS devices