paginate snippets by 5