change class pagnation