Add threshold for pagination triggering