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

    $('html, body').animate {scrollTop: offset}, 100

  intercept: (e)->
    console.log 'intercept'

    e.preventDefault()
    e.stopImmediatePropagation()

    # do not continue if clicking button
    return false if $(e.target).hasClass 'button--inblock'

    console.log 'isBlock', isBlock

    isBlock = $(e.currentTarget).data('client') is 'Block'
    url = $(e.currentTarget).attr('href')

    'tap #scroll-top'                             : 'scrollToTop'

  initialize: (options) ->
    current_path = sd.CURRENT_PATH?.replace sd.CLIENT_PATH, ""

    new LightboxRouter
