     allNavItems = []
     for controller in @sectionControllers
       allNavItems = allNavItems.concat controller.itemsOrdered
-    
+
     @allNavItems = allNavItems
-       
+
     @setActiveNavItem 0
-  
-  setActiveNavItem:(index)->    
+
+  setActiveNavItem:(index)->
     sectionControllers = @sectionControllers
     totalIndex    = 0
     controllerIndex = 0

      activeNavController = sectionControllers[controllerIndex]
      controllerIndex++
      totalIndex += activeNavController.itemsOrdered.length
    
    activeNavItem = @allNavItems[index]
    
    @unselectAllNavItems activeNavController
    activeNavController.makeItemSelected activeNavItem
  
  unselectAllNavItems:(clickedController)->
    for controller in @sectionControllers
      controller.makeAllItemsUnselected() unless clickedController is controller


    @_windowDidResize()
    @getSingleton("windowController").registerWindowResizeListener @

  contentScrolled:(pubInst,event)->
    @__lastScrollTop or= 0
    newScrollTop = pubInst.$().scrollTop()
