       window.location = href
 
   scrollToTop: (e) ->
-    console.log 'scrollToTop'
     e.preventDefault()
     e.stopPropagation()
 
     $("html, body").animate { scrollTop: 0 }, 300
-
-  dispose: ->
-    console.log 'here disposing'

    e.stopPropagation()

  bodyClick: (e) ->
    console.log 'bodyClick'
    mediator.trigger 'body:click', e

  maybeIntercept: (e)->
    console.log 'maybeIntercept'
    return unless $('body').hasClass 'is-mobile'

    href = $(e.currentTarget).attr("href")

    elOffset = $el.offset().top
    elHeight = $el.height()
    windowHeight = $(window).height()

    if elHeight < windowHeight
      offset = elOffset - ((windowHeight / 2) - (elHeight / 2))
