 @objc public class ScrollableStackView: UIView {
     
     fileprivate var didSetupConstraints = false
-    public private(set) var scrollView: UIScrollView!
-    @objc open var stackView: UIStackView!
     @objc @IBInspectable open var spacing: CGFloat = 8
     @objc open var durationForAnimations:TimeInterval = 1.45
     

    
    //MARK: UI
    func setupUI() {
        self.translatesAutoresizingMaskIntoConstraints = false
        clipsToBounds = true
        
        self.setNeedsUpdateConstraints() // Bootstrap auto layout
    }
    
    // Scrolls to item at index

        fatalError("init(coder:) has not been implemented")
    }
    
	public lazy var scrollView: UIScrollView = {
		let instance = UIScrollView(frame: CGRect.zero)
		instance.translatesAutoresizingMaskIntoConstraints = false
		instance.layoutMargins = .zero
		return instance
	}()

	public lazy var stackView: UIStackView = {
		let instance = UIStackView(frame: CGRect.zero)
		instance.translatesAutoresizingMaskIntoConstraints = false
		instance.axis = .vertical
		instance.spacing = self.spacing
		instance.distribution = .equalSpacing
		return instance
	}()

    //MARK: View life cycle
    override public func didMoveToSuperview() {
