       block: @model
       md: markdown
       comments: @comments
-      tab: @tab
+      tab: @state.get 'tab'
       user: @user
       connections: @model.connections()
 

    'content'     : 'markdown'

  initialize: (options)->
    @tab = options.tab || 'info'
    @user = CurrentUser.orNull()

    mediator.on "lightbox:slide:next", => @slide 'next'
    mediator.on "lightbox:slide:prev", => @slide 'prev'

    e.stopPropagation()

    $('.tab--container__nav__item.is-active, .tab-content.is-active').removeClass 'is-active'
    @state.set tab: $(e.currentTarget).data 'tab'
    $(e.currentTarget).addClass 'is-active'
    $("#tab-#{@state.get('tab')}").addClass 'is-active'

    @scrollToTabs()

