Pagination fix for Boostrap 3

In Bootstrap 3 the pagination class is applied to the `ul` element and not a wrapping `div`.
Removed the unneeded div and applied the classes to the `ul` element.