Add setting for pagination