updates HTML and moves grid partial to be printed out higher up in the CSS