     
     open var containerView: UIView!
     open var transitionView = UIView()
+    
+    public override init() {
+        isPresenting = false
+        super.init()
+    }
     
     open var toView: UIView {
         return toViewController.view

        
        toViewController = tVC
        fromViewController = fVC
    }
    
    @objc(transitionDuration:)

        
        let d = transitionDuration(using: transitionContext)
        
        if isPresenting, let v = backgroundView.backgroundColor {
            backgroundView.motion(.backgroundColor(v), .duration(d))
        } else if nil != backgroundView.backgroundColor {
            backgroundView.motion(.backgroundColor(.clear), .duration(d))
        }
        
