when you swipe scrollview horizontally , activate current tab