         button.contentHorizontalAlignment = .leading
         button.leftPadding = 10
         button.rightPadding = 10
+        button.addTarget(self, action: #selector(scrollToComparisonSelection(_:)), for: .touchUpInside)
         return button
     }
 

            button.imageView?.tintColor = themeModel.authorColor
            button.setTitleColor(themeModel.authorColor, for: .normal)
            button.tintColor = themeModel.authorColor
        }
        updateSelectionIndex(openSelectionIndex, for: cell, at: indexPath)
        updateSelectionThemeModel(themeModel, for: cell, at: indexPath)
        cell.apply(theme: theme)

        openSelectionIndex += 1
    }

    func collectionView(_ collectionView: UICollectionView, didDeselectItemAt indexPath: IndexPath) {

    }

    private lazy var compareToolbarButton = UIBarButtonItem(title: CommonStrings.compareTitle, style: .plain, target: self, action: #selector(showDiff(_:)))
    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 {
