adjusting the size of the index grid