 
     initialize: (options = {}) ->
       @title = options.title
-      _(options).defaults
-        loginClasses: true
+      @settings = _(options).defaults
         routeLinks: true
+        scrollTo: [0, 0]
 
       # Listen to global events: Starting and disposing of controllers
       # Showing and hiding the main views

      # Set app wide event handlers
      @delegateEvents()

      if options.loginClasses
        @subscribeEvent 'loginStatus', @updateLoginClasses
        @updateLoginClasses()

      if options.routeLinks
        @initLinkRouting()

    # Take (un)delegateEvents from Backbone

    # Handler for the global beforeControllerDispose event
    hideOldView: (controller) ->
      # Jump to the top of the page
      scrollTo @settings.scrollTo if @settings.scrollTo

      # Hide the current view
      view = controller.view
