[BUGFIX] Proper wrapping of pagination to match new Bootstrap versions