Wrote better default pagination template