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

      
      v.layer.position.x = originalX + translationX < view.bounds.width - (w / 2) ? view.bounds.width - (w / 2) : originalX + translationX
      
      let a = 1 - (view.bounds.width - v.layer.position.x) / v.bounds.width
      rootViewController.view.alpha = 0.5 < a && v.layer.position.x >= v.bounds.width / 2 ? a : 0.5
      
      if translationX <= -rightThreshold {
        hideStatusBar()

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