Added swipe events for slides, tweaked the script