Add a heavily customized pagination element