         if let userInfo = notification.userInfo {
             let animationDuration: NSTimeInterval = (userInfo[UIKeyboardAnimationDurationUserInfoKey] as! NSNumber).doubleValue
 
+            self.setConversaitonCollectionViewOriginalContentInset()
+
             UIView.animateWithDuration(animationDuration, delay: 0, options: .BeginFromCurrentState, animations: { () -> Void in
                 self.messageToolbarBottomConstraint.constant = 0
                 self.view.layoutIfNeeded()
-                }, completion: { (finished) -> Void in
+
+            }, completion: { (finished) -> Void in
             })
         }
     }



    deinit {
        updateMessageToolbarWithKeyboardChange = false
    }

    override func viewDidLoad() {

            UIView.animateWithDuration(animationDuration, delay: 0, options: UIViewAnimationOptions(animationCurveValue), animations: { () -> Void in
                self.messageToolbarBottomConstraint.constant = keyboardHeight
                self.view.layoutIfNeeded()

            }, completion: { (finished) -> Void in
                self.setConversaitonCollectionViewOriginalContentInsetBottom(keyboardHeight + self.messageToolbar.intrinsicContentSize().height)
            })
        }
    }
