Fix pagination for bootstrap 3