Added tap and swipe events for mobile on the header menu