If there is a roadblock of any sort, e.g. narrow corridor or doorway or party member in front, companions in the back will "jump" or "dance" trying to get to the front to complete their assigned action. This happens mostly in combat but can happen traversing areas if the back companions are told to move while the front ones are stationery.