hide tabs when they have no visible fields