Fixed flashing of sidebar menus