use cookie to store pagesize settings