calculating the width for the vocabulary listing to ensure right size