       hideHandleCloseIcons : yes
       detachPanes          : no
       tabHandleContainer   : @topNav
+      tabHandleClass       : HomeStacksTabHandle
 
     @tabView.unsetClass 'kdscrollview'
 


  handleAction: (action) ->

    unless tab = @tabView.getPaneByName action
      _kd.singletons.router.handleRoute '/Home/Stacks/List'
    else
      @tabView.showPane tab


  createStacksViews: ->


    @tabView.showPane @stacks

    # @tabView.on 'PaneDidShow', (pane) ->
    #   { router } = kd.singletons
    #   path = router.getCurrentPath()
    #   router.handleRoute "/Home/Stacks/#{kd.utils.slugify pane.name}"

    kd.singletons.mainController.ready =>
      @createStacksViews()
      @createVMsViews()
