Added support for lastRowTpl that will apply to last row of a list