the horse was rearing and twisting , altogether spooked , churning forelegs keeping at bay a small gang of grooms and stable-lads , all of whom were rapidly losing their professional calm at the thought of one of the king 's valuable horses damaging itself before their eyes .