       @drawer = new Drawer(new Graph(@input))
 
       @currentStep = @input.stop
+      @hasherize()
 
       @renewSlider()
       @title.removeClass('error').html @input.function.title()

    @sliderFPrev = $('#timeline button.fprev')
    @transforms  = $('#transforms')


    @currentFunction = 0
    @currentStep     = undefined

    @setupContainer()
    @buildSelector()
    @buildSlider()

    @draw()

  draw: (step) ->
    try

      @slider.height($(window).height() - @toolbar.outerHeight() - 250)

    resize() && $(window).bind('resize', resize)

  hasherize: ->
    window.location.hash = "#{@currentFunction}:#{@currentStep}"

  dehasherize: ->
    [@currentFunction, @currentStep] = window.location.hash.from(1).split(":")

  buildSelector: ->
    groups = ['Present', 'Removed'].map (x) -> $("<optgroup label='#{x}'></optgroup>")
