Add extra classes to pagination tag

Following the issue #2