                 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() {

        
        collectionView?.alwaysBounceVertical = true
        extendedLayoutIncludesOpaqueBars = true
    }

    @objc func contentSizeCategoryDidChange(_ notification: Notification?) {

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