     public func rotated() {
         if opened {
             print("ROTATED!!")
+            print("bounds: \(UIScreen.main.bounds)")
+            let snap = outViewController?.view.snapshotView(afterScreenUpdates: true)!
+            snap?.frame = (outView?.bounds)!
+            snap?.autoresizingMask = [.flexibleWidth, .flexibleHeight]
+            outView?.addSubview(snap!)
         }
     }
     

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

        
        menuVc.view.frame = UIScreen.main.bounds
        
        outViewController = _vc
        outView = outViewController?.view.snapshotView(afterScreenUpdates: true)
        outView?.autoresizingMask = [.flexibleLeftMargin, .flexibleTopMargin, .flexibleBottomMargin]
        outView?.frame = UIScreen.main.bounds
        self.updateOutView()
        
