Change the trigger method from Touch Event to UIPanGestureRecognizer, so that can compatible with UITableView.