         if showAcknowledgements {
             scrollViewContainer.addSubview(acknowledgementsTableView)
         }
-        
+    }
+
+    private func setConstraints(mainScrollView mainScrollView: UIScrollView, scrollViewContainer: UIView, headerView: UIView, appNameLabel: UILabel, copyrightInfo: UILabel, eMailButton: UIButton, websiteButton: UIButton, tableHeaderLabel: UILabel) {
         /*
         A word of warning!
         Here comes all the Autolayout mess. Seriously, it's horrible. It's ugly, hard to follow and hard to maintain.

        if additionalButtons.count > 0 {
            scrollViewContainer.addSubview(additionalButtonsTable)
        }
        
        let tableHeaderLabel = UILabel()
        tableHeaderLabel.translatesAutoresizingMaskIntoConstraints = false
        tableHeaderLabel.font = UIFont.systemFontOfSize(sizeForPercent(4.375), weight: -1)

        if let theFont = fontHeaderLabel {
            tableHeaderLabel.font = theFont
        }

        headerView.addSubview(appNameLabel)
        appNameLabel.sizeToFit()
        appNameLabel.layoutIfNeeded()
        return appNameLabel
    }
    
    private func createAndAddCopyrightLabel(headerView headerView: UIView) -> UILabel {
        let copyrightInfo = UILabel()
        copyrightInfo.translatesAutoresizingMaskIntoConstraints = false
        copyrightInfo.font = UIFont.systemFontOfSize(sizeForPercent(4.375), weight: -1)
        
        if let theFont = fontCopyrightInfo {
            copyrightInfo.font = theFont
        }
