         copyRoundedView.frame = originalRoundedView.frame
         containerView.addSubview(copyRoundedView)
         originalRoundedView.isHidden = true
-        setupRoundedViewConstraints(roundedView: copyRoundedView, fromOriginal:originalRoundedView)
+        setupViewFullScreenConstraints(roundedView: copyRoundedView)
         
         // Create animator
         let timing = UICubicTimingParameters(animationCurve: .easeInOut)

        NSLayoutConstraint.activate(constraints)
    }
    

}

        return animationController
    }
    
    func animationController(forDismissed dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? {
        return animationController
    }
    
}

class AnimationController: NSObject, UIViewControllerAnimatedTransitioning {
