- add class="pagination" to ul to work also with bootstrap 3