implementing swipe gestures
implemented left-right swipes. still have to assign correct actions on them