ensuring that topbar-menu display:-property is set, so it can be tested against in javascript