Add pagination update on itemsPerPage change

Hi,

I created a pull request for the pagination update issue I just opened (I didn't know it would open a new issue, sorry for that).

Regards,
Yann