Make renderPaginationForType overridable

Hi

I found myself needing to override the pagination function, and thought I'd share that change upstream as well. Let me know if you think anything here ought to be fixed/changed and I'll get right to it. I did not spend much (or almost any) time getting into how the code works, but I absolutely needed to override this function so here it is. :smiley: