Adds grid layout