Fix the keyboard dismiss not call resignFirstResponder with textField, fix the panGesture for UIScrollView