Could anyone clarify the dance you do for the fourth boss

you can`t strafe back and forth over a tight spot... i`m guessing circling around the room is the goal