     private var didLayoutOnce = false
     
     internal var xContentInset: CGFloat {
-        return frame.width - CGFloat(configuration.itemWidth) / 2.0
+        return (frame.width - CGFloat(configuration.itemWidth)) / 2.0
     }
     
     private func scroll(toIndex index: Int, animated: Bool = true) {

        fatalError("init(coder:) has not been implemented")
    }
    
    private lazy var scrollView: UIScrollView = {
        let scrollView = UIScrollView()
        

            didLayoutOnce = true
        }
        
        updateSubviews()
    }
    
    @objc private func scrollViewWasTapped(_ sender: UITapGestureRecognizer) {
        let point = sender.location(in: scrollView)
        
        // TODO(vrutberg):
        // * This should probably be merged with convert(contentOffsetToIndex)
        var itemIndex = Int(floor(point.x / CGFloat(configuration.itemWidth)))
        
