Simple paginator for divs with same classes