A general purpose paging Snippet for MODx Revolution