         }
         v.subviews.forEach { setGrayTextColor($0) }
     }
+    
+    // Creates a new divider pinned to bottom of the super view
+    private func newDivider(superView: UIView) -> UIView {
+
+        let divider = UIView()
+        superView.addSubview(divider)
+        
+        divider.backgroundColor = BraveUX.ColorForSidebarLineSeparators
+
+        divider.snp_makeConstraints { make in
+            make.right.bottom.left.equalTo(divider.superview!)
+            make.height.equalTo(1.0)
+        }
+        
+        return divider
+    }
 
     override func setupUIElements() {
         super.setupUIElements()

                label.adjustsFontSizeToFitWidth = true
            }
        }
        setupStatsSection()

        setGrayTextColor(togglesContainer)

                    let togglesHeight = CGFloat(views_toggles.count) * ui_togglesContainerRowHeight
                    let togglesContainerHeight = togglesSectionTitle != nil  ? togglesHeight + titleSectionHeight : togglesHeight
                    make.height.equalTo(togglesContainerHeight)
                }
            })
        }

        view.backgroundColor = .whiteColor()
        
        let headerColor = BraveUX.BackgroundColorForSidebarHeaders
        headerContainer.backgroundColor = headerColor
        shieldsOverviewContainer.backgroundColor = headerColor
        siteNameContainer.backgroundColor = headerColor

        let containerBackgroundColor = UIColor.clearColor()
        containerView.backgroundColor = containerBackgroundColor
        statsSectionTitle.backgroundColor = containerBackgroundColor
        statsContainer.backgroundColor = containerBackgroundColor
        togglesSectionTitle?.backgroundColor = containerBackgroundColor
        togglesContainer.backgroundColor = containerBackgroundColor
        
        viewAsScrollView().scrollEnabled = true
        viewAsScrollView().bounces = false

        func setupHeaderSection() {
            let heading = UILabel()
            
            headerContainer.addSubview(heading)
            newDivider(headerContainer)
            
            heading.text = Strings.Site_shield_settings
            heading.textColor = UIColor.blackColor()
            heading.font = UIFont.boldSystemFontOfSize(18)
            
            heading.snp_makeConstraints { (make) in
                make.right.equalTo(heading.superview!)
                make.bottom.equalTo(heading.superview!).inset(12)
