Add swipe gesture to tabs