implemented swipe left and right to jump to next section