adds grid classes to main index div.