adding items per page, and grid / list toggle