Bug 828155 - Avoid flashing by delaying showing the tabs until we know what to show exactly