         $(window).scrollTop(scrollTo)
       )
 
+    close: ->
+      @trigger('closing')
+
     updateSummary: () ->
       abstract = @model.get('abstract')
       if abstract

        $toc.css('top', "#{tocTop}px")
        newHeight = window.innerHeight - tocTop
        $toc.height("#{newHeight}px")
      adjustMainMargin = (height) ->
        mainPage.regions.main.$el.css('margin-top', "#{height}px")
      pinNavBar = ->
        $pinnable.addClass('pinned')
        $titleArea().addClass('compact')
        $toc.addClass('pinned')
        isPinned = true
        adjustMainMargin($pinnable.height())
      unpinNavBar = ->
        $pinnable.removeClass('pinned')
        $titleArea().removeClass('compact')
        $toc.removeClass('pinned')
        isPinned = false
        adjustMainMargin(0)
        pinnableTop = $pinnable.offset().top
      mediaTitleView.on('render', ->
        if isPinned
          $titleArea().addClass('compact')
      )

      Backbone.on('window:optimizedResize', setTocHeight)
      handleHeaderViewPinning = ->
        top = $(window).scrollTop()
        if top > pinnableTop

        else if isPinned
          unpinNavBar()
        setTocHeight()
      Backbone.on('window:optimizedScroll', handleHeaderViewPinning)
      @on('closing', ->
        Backbone.off('window:optimizedScroll', handleHeaderViewPinning)
      )

      navView.on('tocIsOpen', (whether) ->
        windowWithSidebar.open(whether)
        # On small screens, when the contents is opened,
