 bodyView = -> require('./templates/body.jade') arguments...
 sd = require('sharify').data
 markdown = require '../../../../components/util/markdown.coffee'
+{ resize } = require '../../../../components/resizer/index.coffee'
+
 Q = require 'bluebird-q'
 
 module.exports.EoyView = class EoyView extends Backbone.View

    return closest

  trackDirection: =>
    scrollTop = $(window).scrollTop()
    if scrollTop == 0
      $('.scroller__items section[data-section!="0"]').attr('data-state', 'closed')
      $('.scroller__items section[data-section="0"]').attr('data-state', 'open').height(@containerHeight)

        spacers.push {spacer: $active.find('header .spacer--article'), gutter: 20}
        spacers.push {spacer: $active.find('.article-body--section__text .spacer'), gutter: 20}
    for spacer in spacers
      throttled = _.throttle(@verticalScrollBoundary, 30)
      throttled(scrollTop, spacer.spacer, spacer.gutter)

  verticalScrollBoundary: (scrollTop, spacer, gutter) =>
    windowBottom = scrollTop + @windowHeight
    initHeight = spacer.height
    spacerHeight = windowBottom - $(spacer).parent().offset().top - gutter
    if initHeight != spacerHeight.toFixed()
      $(spacer).height(spacerHeight.toFixed())

  playVideo: (e) =>
    $(e.target).toggleClass('active')
