Better pagination

Signed-off-by: Carlos <carlos@doofinder.com>