add paginate gif api route