[TASK] add pagination to elastic search - move partials to search template