 
                     self.loginButtonTopConstraint = make.top.equalTo(self.userInfoInputView.questionSelectButton.snp.bottom).offset(12.0).constraint
                 }
+                dynamicAnimator?.removeAllBehaviors()
+                containerView.setNeedsLayout()
             case .notLoginWithAnswerField:
                 userInfoInputView.usernameField.isEnabled = true
                 userInfoInputView.passwordField.alpha = 1.0


// MARK: Helper
extension S1LoginViewController {

    fileprivate func alert(title: String, message: String) {
        let alertController = UIAlertController(title: title, message: message, preferredStyle: .alert)
        alertController.addAction(UIAlertAction(title: NSLocalizedString("Message_OK", comment:""), style: .cancel, handler: nil))

                    }
                }
            } else {
                let centerOfCurrentContainerView = containerView.center
                dynamicAnimator.removeAllBehaviors() // containerView.center will changed immdediately when doing this since iOS 10
                containerView.center = centerOfCurrentContainerView
                if let snapBehavior = self.snapBehavior {
                    dynamicAnimator.addBehavior(snapBehavior)
                }
