add pagination to dogs