                             UIView.animateWithDuration(0.3, animations: { () -> Void in
                                 self.scrollView.adjustContentSize()
                             }, completion: { (_) -> Void in
-                                self.displayMissingCells(self.scrollView.layoutMode)
+                                self.displayMissingCells()
                             })
                         })
                     })

    }
    
    override func didRotateFromInterfaceOrientation(fromInterfaceOrientation: UIInterfaceOrientation) {
        self.displayMissingCells(self.scrollView.layoutMode)
    }
    
    //MARK: - ScrollView delegate
    
    override func handleSnapBack() {
        self.displayMissingCells(self.scrollView.layoutMode)
    }
    
    func scrollViewDidEndDecelerating(scrollView: UIScrollView) {

    
    override func viewDidAppear(animated: Bool) {
        self.scrollView.delegate = self
        self.displayMissingCells()
        self.scrollView.adjustContentSize()
    }
    
