fixed menu bugs for iOS