Fixes #247 add active class into active page like Bootstrap pagination

Fixes #247. Add active class into active page like Bootstrap pagination.