 
     true
 
-  scrollByHash: (hash) ->
-    if hash
-      excluded = $.inArray(hash, @options.scrolling.exclude) > -1
-
-      if not excluded
-        data = @roof.outline.getScrollDataByHash hash
-
-        @scrollTo data.target, data.offset
-
-    return
-
-  activateSection: (section) ->
-    section = $ section
-    id      = section.data 'id'
-    alias   = section.data 'alias'
-
-    if alias or id
-      @roof.outline.activateItemById alias or id
-
-      @updateLocationHash alias or id
-
-    return
-
-  updateLocationHash: (id) ->
-    window.location.hash = "/#{id}" if id
-
-    return
-
   index: ->
     if @body.attr 'id' is 'index'
       true

  # === Events ===

  onWindowLoad: (event) =>
    setTimeout =>
      @scrollByHash window.location.hash

      do @roof.update
    , 1

    return


    return

  onSectionEnter: (section, direction) =>
    activateSection.call @, section

    return

  onScrollComplete: (section) =>
    activateSection.call @, section

    return

