title: Buttons on UIScrollView bounces back when centered
body: <p>My UIScrollView bounces back from left side, but stays normal from the right side.
  Look at the gif please.</p>
  <p><a href="https://i.stack.imgur.com/oUyJI.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oUyJI.gif" alt="dragging" /></a></p>
  <p>Important note: The buttons should be centered when the screen opens.</p>
  <p>To center my buttons, I create them like this:</p>
  <pre><code>button.frame = CGRect(
                  x: screenWidth/2 + gap,
                  y: 0,
                  width: buttonWidth,
                  height: buttonHeight)
  buttonsScrollView.addSubview(button)
  </code></pre>
  <p>I already set wide content size</p>
  <pre><code>buttonsScrollView.contentSize.width = screenWidth
  </code></pre>
  <p>and adding extra space - <code>screenWidth + 100</code> does not help, it makes wider only from the right side.</p>