add possibility to change the number of items per page