remove slide navigation from modals and add swipe events to slider