Add custom block for paginate collection