adapt to redesigned admin bar in WP 3.8