         slideOutLabel.font = slideOutFont
         slideOutView.addSubview(slideOutLabel)
         addVisualConstraints("V:|[view]|", horizontal: "H:|[view]|", view: slideOutLabel, toView: slideOutView)
-
+    }
+
+    private func addSlider() {
         // Create Slider
         slider.translatesAutoresizingMaskIntoConstraints = false
         slider.backgroundColor = sliderColor

        addConstraints(horizontalConstraints)
    }

    private func setup() {
        // Apply the custom slider styling
        layer.cornerRadius = cornerRadius
        layer.masksToBounds = true

        // Add slideIn label
        slideInLabel.translatesAutoresizingMaskIntoConstraints = false
        slideInLabel.textAlignment = .Center

        slideInLabel.font = slideInFont
        addSubview(slideInLabel)
        addVisualConstraints("V:|[view]|", horizontal: "H:|[view]|", view: slideInLabel, toView: self)
    }

    private func addSlideOutView() {
        slideOutView.translatesAutoresizingMaskIntoConstraints = false
        slideOutView.backgroundColor = slideOutColor
        slideOutView.alpha = 0
