title: Horizontal UIScrollView set content offset does not work as content updates
body: <p>Implemented <code>UIScrollView</code> with scrolling in the horizontal direction only.
  As the contents update, trying to set the content offset to max X position</p>
  <pre><code>let maxXOffset = CGPoint(x: scrollView.contentSize.width - scrollView.bounds.size.width, y: 0)
  scrollView.setContentOffset(maxXOffset, animated: true)
  </code></pre>
  <p>but the issue is content offset not set correctly.</p>