[fix bug 1004412] Mobile nav does not close when clicking off the menu on iOS7