save per_page choice to cookies