             pagingViewController.view.trailingAnchor.constraint(equalTo: view.trailingAnchor),
             ])
         
-        switch (options.componentType) {
+        switch options.componentType {
         case .pagingController:
             // V:|[pagingView]|
             NSLayoutConstraint.activate([

            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
        }
        
