 
 extension VRSlider: PickerViewDelegate {
     func slider(_ sender: PickerView, didSlideTo: CGPoint) {
-        pickerView.scrollView.contentOffset.x = didSlideTo.x
+        selectionPickerView.scrollView.contentOffset.x = didSlideTo.x
     }
 
     func slider(_ sender: PickerView, didSelectIndex index: Int) {

        return layer
    }
    
    func setupPickerView() {
        addSubview(pickerView)

        matchSizeWithConstraints(view1: pickerView, view2: self)
    }

    func setupPickerView2() {


        layer.addSublayer(selectionColorLayer)
        setupGradientContainerView()
        setupSelectionPickerView()
        setupPickerView2()

//        switch configuration.gradientPosition {
