         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)
            layoutIfNeeded()
        }
    }
    public var textLabelLeadingDistance: CGFloat = 0 {
        didSet {
            leadingTextLabelConstraint?.constant = textLabelLeadingDistance
            layoutIfNeeded()
        }
    }
    public var isEnabled:Bool = true {

    
    private func updateThumbnailViewLeadingPosition(_ x: CGFloat) {
        leadingThumbnailViewConstraint?.constant = x
        setNeedsLayout()
    }
    
    // MARK: UIPanGestureRecognizer
