   </div>
 ReplyButtons.displayName = 'ReplyButtons'
 
+$(window).resize affixResize = _.debounce ->
+  $('.affix').height $(window).height()
+  $('.affix-top').height $(window).height() - $('#top').outerHeight true
+, 100
+
 TableOfContentsID = React.memo ({messageID, parent, index}) ->
   message = useTracker ->
     Messages.findOne messageID


  return null unless visible or isRoot
  if isRoot
    <nav className="contents">
      <ul className="nav contents">
        <li className="btn-group-xs #{foldedClass.call message}">
          {inner}

      title = icon = undefined if emailless()
      linkToAuthor @group, user.username, title, icon
    ).join ', '

Message = ({messageID}) ->
  <ErrorBoundary>
