add pagination to uploads; refactor pagination search to partial for posts, tags, categories, uploads