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

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

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