         self.historyViewController.view.transform = CGAffineTransformIdentity
         self.historyViewController.scrollToIndex(index, animated: false)
         }) { (finished) in
-          self.coverView.hidden = true
           self.historyContentView.hidden = true
           self.historyViewController.view.alpha = 0.0
           self.setNavigationBarHidden(false, animated: false)

}

public class SAHistoryNavigationViewController: UINavigationController {

  private static let kImageScale: CGFloat = 1.0

  var historyViewController = SAHistoryViewController()

  public var historyContentView = UIView()
  //FIXME: handle rotation

  private var coverView = UIView()
  private var screenshotImages = [UIImage]()

  override public func viewDidLoad() {
    super.viewDidLoad()

    coverView.backgroundColor = .grayColor()
    coverView.hidden = true
    NSLayoutConstraint.applyAutoLayout(view, target: coverView, index: nil, top: 0.0, left: 0.0, right: 0.0, bottom: 0.0, height: nil, width: nil)

    historyContentView.backgroundColor = .clearColor()
    historyContentView.hidden = true
    NSLayoutConstraint.applyAutoLayout(view, target: historyContentView, index: nil, top: 0.0, left: 0.0, right: 0.0, bottom: 0.0, height: nil, width: nil)


  }

  override public func setHistoryBackgroundColor(color: UIColor) {
    historyContentView.backgroundColor = color
    super.setHistoryBackgroundColor(color)
  }

  override public func contentView() -> UIView? {
