     // MARK: - Helpers
     
     private func configureSelf() {
+        configureScrollView()
+        configureStackView()
+    }
+    
+    private func configureScrollView() {
         backgroundColor = UIColor.black
         showsVerticalScrollIndicator = false
         showsHorizontalScrollIndicator = false
         bouncesZoom = true
         delegate = self
-        
-        stackView.addArrangedSubview(leftImageView)
-        stackView.addArrangedSubview(imageView)
-        stackView.addArrangedSubview(rightImageView)
-        
+    }
+    
+    private func configureStackView() {
+        if infiniteScroll {
+            stackView.addArrangedSubview(leftImageView)
+            stackView.addArrangedSubview(imageView)
+            stackView.addArrangedSubview(rightImageView)
+        } else {
+            stackView.addArrangedSubview(imageView)
+        }
         addSubview(stackView)
     }
     

        }
    }
    
    /// Whenever frame property is changed zoom scales are gonna be re-calculated.
    override open var frame: CGRect {
        willSet {

    }
    
    private func updateContentOffsetRelative() {
        if infiniteScroll {
            let xOffset = contentOffset.x
            let width = contentSize.width / 3
            
            let maxOffset = width * 2
            if xOffset > maxOffset {
                let diff = xOffset - maxOffset
                let newX = width + diff
                let newOffset = CGPoint(x: newX, y: 0)
                UIView.performWithoutAnimation {
                    setContentOffset(newOffset, animated: false)
                }
            }
            
            let minOffset = width - bounds.width
            if xOffset < minOffset {
                let diff = minOffset - xOffset
                let newX = width + minOffset - diff
                let newOffset = CGPoint(x: newX, y: 0)
                UIView.performWithoutAnimation {
                    setContentOffset(newOffset, animated: false)
                }
            }
        }
    }
