     @IBInspectable open var isZoomTitle: Bool = true // item's title zoom animation, default is true; if true, the titleFontSelected is does not work
     @IBInspectable open var maxItemScale: CGFloat = 1.2 // item's title max zoom scale, default is 1.2
     @IBInspectable open var splitLineViewHeight: CGFloat = 0.5 // bottom splitLine's height, default is 0.5
+    @IBInspectable open var splitLineViewColor: UIColor = UIColor.white // the bottom splitLineView's background color, default is white
+    @IBInspectable open var isHideSplit: Bool = true // is hide bottom splitLineView, default is true
     @IBInspectable open var titleFontSizeNormal: CGFloat = 14 {
         didSet {
-            self.titleFontNormal = UIFont.systemFont(ofSize: oldValue)
+            self.titleFontNormal = UIFont.systemFont(ofSize: titleFontSizeNormal)
         }
     } // titleFontSize for normal, default is system 14
     @IBInspectable open var titleFontSizeSelected: CGFloat = 16 {
         didSet {
-            self.titleFontSelected = UIFont.systemFont(ofSize: oldValue)
+            self.titleFontSelected = UIFont.systemFont(ofSize: titleFontSizeSelected)
         }
     } // item's titleFontSize for selected, default is system 16
-    
     open var titleFontNormal: UIFont = UIFont.systemFont(ofSize: 14) // item's titleFont for normal, default is system 14
     open var titleFontSelected: UIFont = UIFont.systemFont(ofSize: 16) // item's titleFont for selected, default is system 16
     

        if progress == 0 {
            progress = 1
        }

        //get next index
        var nextIndex = index
        if scrollView.contentOffset.x > scrollView.bounds.width * CGFloat(index) {

        self.addSubview(scrollView)
        
        self.scrollView = scrollView
    }
    
    private func updateSubLineViewPosition(_ scrollView: UIScrollView) {
