add pagination to categories show page