       KD.singletons.chatPanel.showPanel()
       @utils.wait 1000, =>
         @startNewConversation()
-     
+
     # find conversations panel icon position.
     offsetTo = @mainView.chatHandler.$().offset()
     # move cursor to conv. panel button position.

      # move cursor to file tree menu
      @pointer.$().offset
        top     : vmOffset.top
        left    : vmOffset.left 

  showVMMenu:->
    @mainView.sidebar.animateLeftNavOut()
    @pointer.once 'transitionend', =>
      # make click action
      @clickAnimation()
      # open VM menu 
      @mainView.sidebar.resourcesController.itemsOrdered[0].chevron.$().click()
      # wait 3 sec.
      @utils.wait 2000, =>
        # remove pointer
        #@pointer.destroy()
    
    # TODO !!! should remove that class on pageNext
    @setClass 'moveUp'
    @mainView.once 'transitionend', =>

        vmMenuOffset = @mainView.sidebar.resourcesController.itemsOrdered[0].chevron.$().offset()
        # move cursor to VM's menu position
        @pointer.$().offset vmMenuOffset

  showVMTerminal:->
    @mainView.sidebar.animateLeftNavOut()
    @pointer.once 'transitionend', =>
      # make click action
      @clickAnimation()
      # open VM menu
      # wait 3 sec.
      @utils.wait 2000, =>
        @mainView.sidebar.resourcesController.itemsOrdered[0].buttonTerm.$().click()
        # remove pointer
        #@pointer.destroy()

    # TODO !!! should remove that class on pageNext
    @setClass 'moveUp'
    @mainView.once 'transitionend', =>
