add different page size for pagination if request is Ajax