 
 
   showAllMenu: (enable) =>
-    for menu in @menus
-      if enable
-        menu.classList.add 'js-nav-switch--visible'
-      else
-        menu.classList.remove 'js-nav-switch--visible'
+    @data().visible = if enable then '1' else ''
+
+    @syncMenu()
 
 
   showPopup: =>
     return if !@available()
 
     Timeout.clear @hideTimeout
-    @data().visible = '1'
     @showAllMenu true
     @repositionPopup()
 

      modeHash = null if @currentMode() == modeHash.navMode

    @setMode modeHash


  syncMode: =>


    Timeout.clear @hideTimeout
    @hideTimeout = Timeout.set 10, =>
      @showAllMenu false
      $.publish 'nav:popup:hidden'

