Fix pagination issue with Bootstrap 3.