title: Create onboard screen in swift
body: <p>I have created onboard viewcontroller using UICollectionView
  <a href="https://i.stack.imgur.com/0LMhw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0LMhw.png" alt="This is screen"></a></p>
  
  <p>but when I swipe, the picture goes out of the iphone, I want the picture to clip inside the phone and show other image. How can i achieve that?</p>