     return
 
   onSectionEnter: (section, direction) =>
-    section = $ section
+    @activateSection section
 
+    return
+
+  onScrollComplete: (section) =>
     @activateSection section
 
     return

    id      = section.data 'id'
    alias   = section.data 'alias'

    @roof.outline.activateItemById alias || id

    @updateLocationHash section

    return

  updateLocationHash: (section) ->
    section = $ section
    id      = section.data 'id'
    alias   = section.data 'alias'

    window.location.hash = "/#{alias || id}"

    return


          offset: offset
          duration: @options.scrolling.duration
          easing: @options.scrolling.easing
          complete: @onScrollComplete

        return false

