Add click state configuration to topbar, optimize hover state detection for tootlips.