Added cookie persistence to itemsPerPage.