Added automatic sizing for the query tag listing