                 return
         }
         
+        outViewController = newVc
         let snap = newVc.view.snapshotView(afterScreenUpdates: true)!
         snap.frame = (outView?.bounds)!
         snap.autoresizingMask = [.flexibleWidth, .flexibleHeight]

    public func rotated() {
        if opened {
            print("ROTATED!!")
        }
    }
    

        outView?.backgroundColor = UIColor.clear
        let outTap = UITapGestureRecognizer(target: self, action: #selector(tappedOut))
        outView?.addGestureRecognizer(outTap)
        outView?.layer.shadowColor = UIColor.black.cgColor
        outView?.layer.shadowOpacity = 0.3
        outView?.layer.shadowOffset = CGSize(width: 0, height: 0)
