         if let data = result.successValue {
             let numOfThumbnails = self.layout.thumbnailCount
             collection.performBatchUpdates({
-                // If we have more than enough items to fill the list, delete and insert the new one at the
-                // end of the list to animate the cells
-                if data.count == 100 {
-                    self.collection.deleteItemsAtIndexPaths([indexPath])
-                    self.collection.insertItemsAtIndexPaths([NSIndexPath(forItem: data.count - 1, inSection: 0)])
-                    self.collection.reloadItemsAtIndexPaths([NSIndexPath(forItem: numOfThumbnails, inSection: 0)])
-                }
-
-                // If the history data has less than the number of tiles but we have enough suggested tiles to fill
-                // in the rest, delete and insert the suggested tiles at the end
-                else if (data.count < numOfThumbnails && min(data.count + self.dataSource.suggestedSites.count, numOfThumbnails) == numOfThumbnails) {
+                // If we have enough data to fill the tiles after the deletion, then delete and insert the next one from data
+                if (data.count + self.dataSource.suggestedSites.count >= numOfThumbnails) {
                     self.collection.deleteItemsAtIndexPaths([indexPath])
                     self.collection.insertItemsAtIndexPaths([NSIndexPath(forItem: numOfThumbnails - 1, inSection: 0)])
                 }
 
-                // If we have not enough entries to fill the history list the just delete and reload the one that will
-                // slide into the thumbnail area to update its layout
-                else if (data.count >= numOfThumbnails && data.count < 100) {
-                    self.collection.deleteItemsAtIndexPaths([indexPath])
-                    self.collection.reloadItemsAtIndexPaths([NSIndexPath(forItem: numOfThumbnails, inSection: 0)])
-                }
-
-                // IF we don't have enough to fill the thumbnail tile area even with suggested tiles, just delete
+                // If we don't have enough to fill the thumbnail tile area even with suggested tiles, just delete
                 else if (data.count + self.dataSource.suggestedSites.count) < numOfThumbnails {
                     self.collection.deleteItemsAtIndexPaths([indexPath])
                 }

    override func viewDidLoad() {
        super.viewDidLoad()
        dataSource = TopSitesDataSource(profile: profile, data: Cursor(status: .Failure, msg: "Nothing loaded yet"))

        layout.registerClass(TopSitesSeparator.self, forDecorationViewOfKind: SeparatorKind)

        collection = TopSitesCollectionView(frame: self.view.frame, collectionViewLayout: layout)
        collection.backgroundColor = UIConstants.PanelBackgroundColor

import Storage

private let ThumbnailIdentifier = "Thumbnail"

struct TopSitesPanelUX {
    static let SuggestedTileImagePadding: CGFloat = 10
