UISwipeGestureRecognizer * leftRecognizer = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(segmentButtonClick:)];
leftRecognizer.direction = UISwipeGestureRecognizerDirectionRight;
leftRecognizer.cancelsTouchesInView = YES;
UISwipeGestureRecognizer * rightRecognizer = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(segmentButtonClick:)];
rightRecognizer.direction = UISwipeGestureRecognizerDirectionLeft;
[self.commonTableView addGestureRecognizer:leftRecognizer];
[self.commonTableView addGestureRecognizer:rightRecognizer];