Add list numbering and pager buttons