adj to styles for pagination