fixes display of bootstrap3 pagination