Added pagination with AJAX to gift index