     fileprivate func validateDefaultPage(_ options: PagingMenuControllerCustomizable) {
         let maxCount: Int
         switch options.componentType {
-        case .pagingController(let pagingControllers): maxCount = pagingControllers.count
+        case .pagingController(let pagingControllers):
+            maxCount = pagingControllers.count
         case .all(_, let pagingControllers):
             maxCount = pagingControllers.count
-        case .menuView(let menuOptions): maxCount = menuOptions.itemsOptions.count
+        case .menuView(let menuOptions):
+            maxCount = menuOptions.itemsOptions.count
         }
         
         guard options.defaultPage >= maxCount || options.defaultPage < 0 else { return }

            page = Int(scrollView.contentOffset.x) / Int(scrollView.frame.width)
        default:
            switch (currentPagingViewPosition, options.componentType) {
            case (.left, .pagingController): page = previousPage
            case (.left, _): page = menuView?.previousPage ?? previousPage
            case (.right, .pagingController): page = nextPage
            case (.right, _): page = menuView?.nextPage ?? nextPage
            default: page = pagingViewController?.currentPage ?? currentPage
            }
        }
        

        self.options = options
        
        switch options.componentType {
        case .all(let menuOptions, _):
            self.menuOptions = menuOptions
        case .menuView(let menuOptions):
            self.menuOptions = menuOptions
        default: break
        }
        
