Added endless pagination to default template