         switch animationType {
         case .fadeInFadeOut:
             topMarginConstraint?.constant = -TTGSnackbar.snackbarBottomMargin
-            self.layoutIfNeeded()
             self.alpha = 0.0
             animationBlock = {
                 self.alpha = 1.0

            animations: {
                () -> Void in
                animationBlock?()
                self.layoutIfNeeded()
            }, completion: nil)
    }
    

            animations: {
                () -> Void in
                animationBlock?()
                self.superView?.layoutIfNeeded()
            }) {
                (finished) -> Void in
                self.dismissBlock?(self)
