lock will paginate bootstrap for bootstrap 2.x compatibility