 
     override func tableView(tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
         // Don't show a header for the root
-        if source == nil || source?.current.guid == BookmarkRoots.RootGUID {
+        if source == nil || parentFolders.isEmpty {
             return nil
         }
         guard let header = tableView.dequeueReusableHeaderFooterViewWithIdentifier(BookmarkFolderHeaderViewIdentifier) as? BookmarkFolderTableViewHeader else { return nil }

            header.delegate = self
        }

        if let parentFolder = parentFolder {
            if parentFolder.guid == BookmarkRoots.RootGUID {
                header.textLabel?.text = NSLocalizedString("Bookmarks", comment: "Panel accessibility label")
            } else {
                header.textLabel?.text = parentFolder.title

class BookmarksPanel: SiteTableViewController, HomePanel {
    weak var homePanelDelegate: HomePanelDelegate? = nil
    var source: BookmarksModel?
    var parentFolders = [BookmarkFolder]()

    private let BookmarkFolderCellIdentifier = "BookmarkFolderIdentifier"
    private let BookmarkFolderHeaderViewIdentifier = "BookmarkFolderHeaderIdentifier"
