Add correct pagination classes