title: Animation not running after addsubview command in swift
body: <p>My app includes a button that animates a "spring in" collection view and hides the view when you touch outside of it. The animation works great, until the touchesbegan function is called, then it only fades in. </p>
  
  <p>My touches began function includes the addsubview command and that somehow seems to be causing the issue.<br>
  Why is my "spring in" animation not working after the addsubview command is read? Is this an issue with my constraints resetting? My animation block is called every time.</p>
  
  <pre><code>override func touchesBegan(touches: Set&lt;UITouch&gt;, withEvent event: UIEvent?) {
      let bgImage = UIImageView(image: processedImage)
      self.viewArray.append(bgImage)
  }
  
  func showFilter(){
      view.bringSubviewToFront(collectionView)
      var collectionViewPos = collectionView.center.x
      self.collectionView.center.x = view.frame.width + 300
      UIView.animateWithDuration(0.0, delay: 0.0, options: [], animations: { () -&gt; Void in
          self.collectionView.alpha = 1
          }, completion: { (complete: Bool) in
  
              UIView.animateWithDuration(1.0, delay: 0.0, usingSpringWithDamping: 0.6, initialSpringVelocity: 10, options: [], animations: { () -&gt; Void in
                  self.collectionView.center.x = collectionViewPos
                  self.view.layoutIfNeeded()
                  }, completion: nil)
              return
      })
  }
  </code></pre>