     super.showHistory()
 
     if let image = visibleViewController.screenshotFromWindow(scale: SAHistoryNavigationViewController.kImageScale) {
-      screenshotImages += [image]
+      screenshots += [image]
     }
 
     historyDelegate?.historyControllerDidShowHistory(self, viewController: visibleViewController)
 
-    historyViewController.images = screenshotImages
+    historyViewController.images = screenshots
     historyViewController.currentIndex = viewControllers.count - 1
     historyViewController.reload()
     historyViewController.view.alpha = 1.0


extension SAHistoryNavigationViewController: UINavigationBarDelegate {
  public func navigationBar(navigationBar: UINavigationBar, didPopItem item: UINavigationItem) {
    screenshotImages.removeRange(navigationBar.items.count..<screenshotImages.count)
  }
}



      if let viewController = viewController as? UIViewController {
        if let image = viewController.screenshotFromWindow(scale: SAHistoryNavigationViewController.kImageScale) {
          screenshots += [image]
        }
      }
    }
