Added swipe events for menus and slideshow