New function 'updateItems'

updateItems allows dynamically changing how many items that are rendered on the pagination, without having to rerun init.