         super.layoutSubviews()
         let radius: CGFloat = self.bounds.size.width / 2.0
         self.layer.cornerRadius = radius
+        self.layer.shadowOffset = CGSize(width : 0   , height: 2)
+        self.layer.shadowColor = UIColor(red: 0, green: 0, blue: 0, alpha:0.1).cgColor
+        self.layer.shadowOpacity = 1
+        self.layer.shadowRadius = 6
+        self.clipsToBounds = true
+        self.layer.masksToBounds = false
     }
 }

    private func setStyle() {
        thumnailImageView.backgroundColor = defaultThumbnailColor
        textLabel.text = defaultLabelText
        textLabel.font = UIFont.systemFont(ofSize: 15.0)
        textLabel.textColor = UIColor(red:0.1, green:0.61, blue:0.84, alpha:1)
        textLabel.textAlignment = .center
        sliderHolderView.backgroundColor = defaultSliderBackgroundColor
        sliderHolderView.layer.cornerRadius = sliderCornerRadious
        draggedView.backgroundColor = defaultSlidingColor
        draggedView.layer.cornerRadius = sliderCornerRadious
    }
    
    private func isTapOnThumbnailViewWithPoint(_ point: CGPoint) -> Bool{

        view.addSubview(thumnailImageView)
        view.addSubview(sliderHolderView)
        view.addSubview(draggedView)
        draggedView.addSubview(sliderTextLabel)
        sliderHolderView.addSubview(textLabel)
        view.bringSubviewToFront(self.thumnailImageView)
        setupConstraint()
