added swipe left and right behaviors