title: Problem with parallax effect animation for imageViews in Swift
body: <p>I am trying to create a parallax effect animation for pictures in a scroll view. The main idea is to turn constraints on and off to achieve this.</p>
  <p>Generally everything works, but after scrolling, sometimes you can see a thin line is part of the next image or or the animation becomes very sharp, and I really do not understand why this happens.</p>
  <p>Maybe someone will tell me a better way to achieve parallax effect animation? I will be very grateful for your help.</p>
  <p>I left the code on GitHub, you can run it and read my comments: <a href="https://github.com/swiloper/ConstraintsProblem" rel="nofollow noreferrer">https://github.com/swiloper/ConstraintsProblem</a></p>
  <p>And also watch a small demonstration of what I got:</p>
  <p><img src="https://i.stack.imgur.com/NJ7gL.gif" alt="enter image description here" /></p>
  <p>And this thin line on the side when scrolling:</p>
  <p><img src="https://i.stack.imgur.com/OYpy8.jpg" alt="enter image description here" /></p>