Tidied up the pagination and reverted to a text control as the number field only really works in Safari and Chrome and looks terrible in all other browsers, especially those without shadow DOM control.