Added pagination to the items index.