         addPageToHistory $currentPage, animation
       setHash $currentPage.attr("id")
       true
+
     # FINAL PART OF CONSTRUCTOR
 
     # Apply the options against our defaults

        # Bind internal 'cleanup' callback
        fromPage.bind "webkitAnimationEnd", navigationEndHandler
        $body.addClass "animating " + is3d
        lastScroll = window.pageYOffset
        toPage.css "top", window.pageYOffset - (toPage.data("lastScroll") or 0)  if @settings.trackScrollPositions is true

        # Trigger animations
        toPage.addClass finalAnimationName + " in current"
        fromPage.removeClass("current").addClass finalAnimationName + " out"

        if @settings.trackScrollPositions
          fromPage.data "lastScroll", lastScroll
          $(".scroll", fromPage).each ->
            $(this).data "lastScroll", @scrollTop

      else
        toPage.addClass "current in"

    statusBar: "default"
    submitSelector: ".submit"
    touchSelector: "a, .touch"
    updateHash: true
    useAnimations: true
    useFastTouch: true
    useTouchScroll: true

  @addExtension = (extension) ->
    @::extensions.push extension
