changed the custom-grid to generate the grid of question numbers