                 if let size = buttonWithImage.size {
                     button.frame.size = size
                 }
-
-            }
-
+            }
             // Tag
             tag += 1
             button.tag = tag

        super.init(coder: aDecoder)
    }
    
    open func setSwipeViewController() {
        getValueToSubtract()
        buttons.forEach { $0.frame.origin.x -= valueToSubtract }
        selectionBar.frame.origin.x -= valueToSubtract
    }
    
    override open func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)

        updateSelectionBarFrame()
        buttons.forEach { $0.frame.origin.x -= valueToSubtract }
//        setSwipeViewController()
    }

    func setTitleLabel(_ page: UIViewController, font: UIFont, color: UIColor, button: UIButton) {

    
    open func setButtonsWithImages(_ titleImages: Array<SwipeButtonWithImage>) {
        self.titleImages = titleImages
    }
    
    open func scrollViewDidScroll(_ scrollView: UIScrollView) {
