Adds lazy-loading in table view and tile view.