update pagination for Bootstrap 3