 
     @setClass "account-menu"
 
-    sidebar  = @getDelegate()
-
     @notificationsPopup = new AvatarPopupNotifications
       cssClass : "notifications"
-      delegate : sidebar
 
     @messagesPopup = new AvatarPopupMessages
       cssClass : "messages"
-      delegate : sidebar
-
-    @groupSwitcherPopup = new AvatarPopupGroupSwitcher
-      cssClass : "group-switcher"
-      delegate : sidebar
 
     @notificationsIcon = new AvatarAreaIconLink
-      cssClass   : 'notifications'
+      cssClass   : 'notifications acc-dropdown-icon'
       attributes :
         title    : 'Notifications'
       delegate   : @notificationsPopup
 
     @messagesIcon = new AvatarAreaIconLink
-      cssClass   : 'messages'
+      cssClass   : 'messages acc-dropdown-icon'
       testPath   : "avatararea-messages-icon"
       attributes :
         title    : 'Messages'
       delegate   : @messagesPopup
 
-    @groupsSwitcherIcon = new AvatarAreaIconLink
-      cssClass   : 'group-switcher hidden'
-      attributes :
-        title    : 'Your groups'
-      delegate   : @groupSwitcherPopup
-
     @accountIcon = new KDCustomHTMLView
       tagName    : "a"
-      cssClass   : 'account'
+      cssClass   : 'account acc-dropdown-icon'
       attributes :
         title    : 'Account Settings'
         href     : "#"

        KD.getSingleton('router').handleRoute '/Account'
      partial    : "<span class='count'><cite></cite></span><span class='icon'></span>"

  pistachio:->
    """
    {{> @accountIcon}}
    {{> @messagesIcon}}
    {{> @notificationsIcon}}
    {{> @groupsSwitcherIcon}}
    """

  viewAppended:->



      # Fetch Private Messages
      messagesPopup.listController.fetchMessages()
