limited pins per page and added paginator