Add swipe plugin to slider.