         
         collectionView?.alwaysBounceVertical = true
         extendedLayoutIncludesOpaqueBars = true
+        
+        automaticallyAdjustsScrollViewInsets = false
+        if #available(iOS 11.0, *) {
+            collectionView?.contentInsetAdjustmentBehavior = .never
+        }
     }
 
     @objc func contentSizeCategoryDidChange(_ notification: Notification?) {

                cellWithSubItems.deselectSelectedSubItems(animated: animated)
            }
        }
        updateScrollViewInsets()
    }

    override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
        coordinator.animate(alongsideTransition: { (context) in
            
        }) { (context) in
            self.updateScrollViewInsets()
        }
    }
    
    override func viewDidLayoutSubviews() {

        if #available(iOS 11.0, *) {
        } else {
            navigationBar.statusBarHeight = navigationController?.topLayoutGuide.length ?? 0
        }
        updateScrollViewInsets()
    }
    
    // MARK - Scroll View Insets
