Pagination structure change for bootstrap 3