Adding ajax pagination

Same goes here. Next button won't be active so this won't be a problem either :)