     }
     
     func settingsButtonTapped(sender: UIButton) {
-        toggleToolbar()
+        toggleControls()
     }
     
     func touchButtonTapped(sender: UIButton) {

        return maxOpacity
    }
    
    private func updateContentSize() {
        let maxWidth = max(maxLineWidth, bounds.width)
        
        let newFrame = CGRect(x: 0.0, y: 0.0, width: maxWidth, height: bounds.height)
        tableView.frame = newFrame
        
        let defaultInset = Layout.MagicNumber
        let newInset = UIEdgeInsets(top: defaultInset, left: defaultInset, bottom: defaultInset, right: maxWidth)
        tableView.contentInset = newInset
    }
    
    private func scrollToBottom() {

    // MARK: - UITableViewDataSource
    
    func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
        let rows = filterActive ? filteredLines : lines
        return rows.count
    }
    
    func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
