Allow specifying extra css classes for pagination