moving pagination to kaminari