implemented AJAX pagination for shelters in index