     private var leadingTextLabelConstraint: NSLayoutConstraint?
     private var topSliderConstraint: NSLayoutConstraint?
     private var xPositionInThumbnailView: CGFloat = 0
-    private var xEndingPoint: CGFloat = 0
+    private var xEndingPoint: CGFloat {
+        get {
+            return (self.view.frame.maxX - thumnailImageView.bounds.height)
+        }
+    }
     private var isFinished: Bool = false
     
     override public init(frame: CGRect) {

        sliderHolderView.layer.cornerRadius = sliderCornerRadious
        draggedView.backgroundColor = defaultSlidingColor
        draggedView.layer.cornerRadius = sliderCornerRadious
        xEndingPoint = self.view.frame.maxX - thumnailImageView.bounds.height
    }
    
    private func isTapOnThumbnailViewWithPoint(_ point: CGPoint) -> Bool{

    }
    public var thumbnailViewLeadingDistance: CGFloat = 0.0 {
        didSet {
            updateThumbnailViewLeadingPosition(thumbnailViewLeadingDistance)            
        }
    }
    public var textLabelLeadingDistance: CGFloat = 0 {
        didSet {
            leadingTextLabelConstraint?.constant = textLabelLeadingDistance
            setNeedsLayout()
        }
    }
    public var isEnabled:Bool = true {
