Add extra classes to pagination tag