Implemeted logic to hide titles in tables