             initialViews()
         }
     }
+    
     var progress: CGFloat = 0 {
         didSet{
             updateIndicatorOrigin()
         }
     }
+    
     private let marginInset: CGFloat = 2.0
     private var count: Int {
         set{ self.count = newValue }

    private var eachItemWidth: CGFloat {
        return self.bounds.width / CGFloat(count)
    }
    
    private(set) var indicator = UIView()
    private var selectedLabelsBaseView = UIView()
    private var selectedLabelsMaskView = UIView()

    
    /// gesture actions
    @objc private func handleTapGesture(gesture: UITapGestureRecognizer) {
        
        let location = gesture.locationInView(self)
        let index = Int(floor(location.x / eachItemWidth))
        switchToItem(index)
        
    }
    
}
