added swipe left and right from chapter 11