         }
     }
 
-    private lazy var compareToolbarButton = UIBarButtonItem(title: CommonStrings.compareTitle, style: .done, target: self, action: #selector(tappedCompare(_:)))
-    private lazy var firstComparisonSelectionButton: AlignedImageButton = {
-        let button = makeComparisonSelectionButton()
-        button.tag = 0
-        return button
-    }()
-    private lazy var secondComparisonSelectionButton: AlignedImageButton = {
-        let button = makeComparisonSelectionButton()
-        button.tag = 1
-        return button
-    }()
     private var comparisonSelectionButtonWidthConstraints = [NSLayoutConstraint]()
-
-    private func makeComparisonSelectionButton() -> AlignedImageButton {
-        let button = AlignedImageButton(frame: .zero)
-        button.heightAnchor.constraint(equalToConstant: 40).isActive = true
-        button.cornerRadius = 8
-        button.clipsToBounds = true
-        button.backgroundColor = theme.colors.paperBackground
-        button.imageView?.tintColor = theme.colors.link
-        button.setTitleColor(theme.colors.link, for: .normal)
-        button.titleLabel?.font = UIFont.wmf_font(.semiboldSubheadline, compatibleWithTraitCollection: traitCollection)
-        button.horizontalSpacing = 10
-        button.contentHorizontalAlignment = .leading
-        button.leftPadding = 10
-        button.rightPadding = 10
-        button.addTarget(self, action: #selector(scrollToComparisonSelection(_:)), for: .touchUpInside)
-        return button
-    }
 
     @objc private func compare(_ sender: UIBarButtonItem) {
         state = .editing

        navigationBar.shadowColorKeyPath = \Theme.colors.border
        countsViewController.didMove(toParent: self)


        navigationBar.isUnderBarViewHidingEnabled = true

        layoutManager.register(PageHistoryCollectionViewCell.self, forCellWithReuseIdentifier: PageHistoryCollectionViewCell.identifier, addPlaceholder: true)
        collectionView.dataSource = self
        view.wmf_addSubviewWithConstraintsToEdges(collectionView)

        apply(theme: theme)


        navigationItem.rightBarButtonItem?.tintColor = theme.colors.link
        navigationItem.leftBarButtonItem?.tintColor = theme.colors.primaryText
        countsViewController.apply(theme: theme)
        comparisonSelectionViewController.apply(theme: theme)
    }

    // MARK: UICollectionViewDataSource
