auto paginate, use mixin for pagination