Moved generated grid to top of page, for better printing