         self.view.insertSubview(self.contentView!, at: 0)
     }
     
-    override open var shouldAutorotate : Bool {
+    override open var shouldAutorotate: Bool {
         if let topViewController = self.topViewController() {
             return topViewController.shouldAutorotate
         }

        }
    }
    
    open weak var contentViewController : UIViewController? {
        willSet {
            if let contentViewController = self.contentViewController {
                contentViewController.removeFromParentViewController()

        return super.shouldAutorotate
    }
    
    override open var supportedInterfaceOrientations: UIInterfaceOrientationMask {
        if let topViewController = self.topViewController() {
            return topViewController.supportedInterfaceOrientations
        }
