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

        }
        
        presentedViewController.transitionCoordinator?.animate(alongsideTransition: { (context) in
//            print("Animating")
        })
        
//        print("dismissalTransitionWillBegin")
    }
    
    open override func dismissalTransitionDidEnd(_ completed: Bool) {
//        print("dismissalTransitionDidEnd")
    }
    
    open override var frameOfPresentedViewInContainerView: CGRect {

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