Adjust formatting of topic buttons to accommodate more topics.