title: MoveRow method not animating when moving between sections
body: <p>Im creating Shopping List app. I use 2 sections for separating bought items and Items that are not bought. I use moveRow method for moving rows between said 2 sections. This is the code for moving rows.</p>
  
  <pre><code>if indexPath.section == 0 {
      self.shoppingItems.remove(at: indexPath.row)
      self.shoppingItemsBought.append(item)
      self.tableView.beginUpdates()
  
      let fromIndexPath = NSIndexPath(row: indexPath.row, section: 0)
      let toIndexPath = NSIndexPath(row: 0, section: 1)
  
      self.tableView.moveRow(at: fromIndexPath as IndexPath, to: toIndexPath as IndexPath)
      self.tableView.endUpdates()
  
  } else {
      self.shoppingItemsBought.remove(at: indexPath.row)
      self.shoppingItems.append(item)
      self.tableView.beginUpdates()
  
      let fromIndexPath = NSIndexPath(row: indexPath.row, section: 1)
      let toIndexPath = NSIndexPath(row: 0, section: 0)
  
      self.tableView.moveRow(at: fromIndexPath as IndexPath, to: toIndexPath as IndexPath)
      self.tableView.endUpdates()
   }
  </code></pre>
  
  <p>The rows change their location but without animation.  What am I missing?</p>