adds pagination class to the ul so it works with bootstrap 3 too