title: UIScrollView bouncing issue from top Swift 5
body: <blockquote>
    <p>UIScrollView</p>
  </blockquote>
  
  <pre><code>view.addSubview(scrollView)
  
      scrollView.adopGradientColor()
      scrollView.delegate = self
      scrollView.bounces = false
  
      scrollView.translatesAutoresizingMaskIntoConstraints = false
      scrollView.topAnchor.constraint(equalTo: view.topAnchor).isActive = true
      scrollView.leadingAnchor.constraint(equalTo: view.leadingAnchor).isActive = true
      scrollView.trailingAnchor.constraint(equalTo: view.trailingAnchor).isActive = true
      scrollView.bottomAnchor.constraint(equalTo: view.bottomAnchor).isActive = true
  </code></pre>
  
  <blockquote>
    <p>UIView inside ScrollView</p>
  </blockquote>
  
  <pre><code>scrollView.addSubview(contentView)
  
      contentView.adopGradientColor()
      contentView.translatesAutoresizingMaskIntoConstraints = false
  
      contentView.topAnchor.constraint(equalTo: scrollView.topAnchor).isActive = true
      contentView.leadingAnchor.constraint(equalTo: scrollView.leadingAnchor).isActive = true
      contentView.trailingAnchor.constraint(equalTo: scrollView.trailingAnchor).isActive = true
      contentView.bottomAnchor.constraint(equalTo: scrollView.bottomAnchor).isActive = true
  
      contentView.widthAnchor.constraint(equalTo: scrollView.widthAnchor).isActive = true
      contentView.heightAnchor.constraint(equalToConstant: 650).isActive = true
  </code></pre>
  
  <blockquote>
    <p>I am getting some background colors from top instead of image
    <a href="https://i.stack.imgur.com/WYzEh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WYzEh.png" alt="screenshot of issue"></a></p>
    
    <p>Here is image implementation</p>
  </blockquote>
  
  <pre><code>contentView.addSubview(backGroundImageView)
  
      backGroundImageView.clipsToBounds = true
      backGroundImageView.contentMode   = .scaleAspectFill
  
      backGroundImageView.alpha = 0.5
      backGroundImageView.image = #imageLiteral(resourceName: "WelcomeBGImage")
  
      backGroundImageView.translatesAutoresizingMaskIntoConstraints                           = false
  
      backGroundImageView.topAnchor.constraint(equalTo: contentView.topAnchor).isActive              = true
      backGroundImageView.leadingAnchor.constraint(equalTo: contentView.leadingAnchor).isActive      = true
      backGroundImageView.trailingAnchor.constraint(equalTo: contentView.trailingAnchor).isActive    = true
  
      backGroundImageView.heightAnchor.constraint(equalToConstant: 200).isActive               = true
  </code></pre>
  
  <blockquote>
    <p>this issue is only on small device like iPhone SE, on big screen showing image on top
    <a href="https://i.stack.imgur.com/OCvSv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OCvSv.png" alt="iphone 8 screen i want like this on iphone se screen as well"></a></p>
  </blockquote>