Add delegate callbacks for swipe left/right.