 
         let newMaskingLayer = createMaskingLayer()
         selectionPickerView.layer.addSublayer(newMaskingLayer)
+        selectionPickerView.layer.mask = createAnotherMaskingLayer()
+        pickerView.layer.mask = createMaskingLayer()
         maskingLayer = newMaskingLayer
     }
 

    
    func setupSelectionPickerView() {
        addSubview(selectionPickerView)

        matchSizeWithConstraints(view1: selectionPickerView, view2: self)
    }


        return layer
    }

    private func createAnotherMaskingLayer() -> CAShapeLayer {
        let layer = CAShapeLayer()

        let radius = CGFloat(self.configuration.itemWidth / 4)
        let y = (frame.height / CGFloat(2)) - radius
        let x = (frame.width / CGFloat(2)) - radius

//        let path = UIBezierPath(roundedRect: CGRect(x: 0, y: 0, width: self.frame.width, height: self.frame.height), cornerRadius: 0)
        let circlePath = UIBezierPath(roundedRect: CGRect(x: x, y: y, width: 2 * radius, height: 2 * radius), cornerRadius: radius)
//        path.append(circlePath)
//        path.usesEvenOddFillRule = true

        layer.path = circlePath.cgPath
//        layer.fillRule = kCAFillRuleEvenOdd
//        layer.fillColor = backgroundColor?.cgColor

        return layer
    }

    private lazy var leftGradientLayer: CALayer = self.createGradientLayer(ofType: .left)
    private lazy var rightGradientLayer: CALayer = self.createGradientLayer(ofType: .right)
    
