pull rows out into a template, use a container div for rows