create pagination mixin for route #224