add css classes for pagination