Moving the template to the next row