module for controling tab visibility