25 items per page, and handle invalid pages.