added icon toggling for topbar menu