       if hide {
         hideView(container: v)
         v.layer.position.x = -v.bounds.width / 2
-        rootViewController.view.alpha = 1
+        if isDimEnabled { rootViewController.view.alpha = 1 }
         
       } else {
         showView(container: v)
         v.layer.position.x = width / 2
-        rootViewController.view.alpha = 0.5
+        if isDimEnabled { rootViewController.view.alpha = 0.5 }
       }
       
       layoutSubviews()

                    }
                    
                    v.layer.position.x = -v.bounds.width / 2
                    self.rootViewController.view.alpha = 1
                    
    }) { [weak self, v = v] _ in
      guard let `self` = self else {

                    }
                    
                    v.layer.position.x = self.view.bounds.width - v.bounds.width / 2
                    if isDimEnabled { self.rootViewController.view.alpha = 0.5 }
                    
    }) { [weak self] _ in
      guard let `self` = self else {
