                 
                 showOverview()
             }
+            
+            self.transcriptButton.isHidden = (viewModel?.session.transcript() == nil)
+            
+            let shouldHideButtonsBar = self.transcriptButton.isHidden && self.bookmarksButton.isHidden
+            self.menuButtonsContainer.isHidden = shouldHideButtonsBar
         }
     }
     

        b.state = NSOffState
        b.target = self
        b.action = #selector(tabButtonAction(_:))
        
        return b
    }()

    
    var viewModel: SessionViewModel? = nil {
        didSet {
            menuButtonsContainer.isHidden = (viewModel == nil)
            
            self.shelfController.viewModel = viewModel
            self.summaryController.viewModel = viewModel
            
