hide tabs if no content is present