       # delete KD.singletons.loadingScreen
       $loadingScreen.remove()
       $('body').removeClass 'loading'
-  
+
   createMainPanels:->
     @addSubView @panelWrapper = new KDView
       tagName  : "section"


    @registerSingleton "contentPanel", @contentPanel, yes
    @registerSingleton "sidebarPanel", @sidebarPanel, yes
  
  addHeader:()->
    @addSubView @header = new KDView
      tagName : "header"


    @changeHomeLayout isLoggedIn
    @utils.wait 300, => @notifyResizeListeners()

  _windowDidResize:->

    {winHeight} = @windowController
    @panelWrapper.setHeight winHeight - 51

  putWhatYouShouldKnowLink:->

    @header.addSubView link = new KDCustomHTMLView
      tagName     : "a"
      domId       : "what-you-should-know-link"
