stone , like the other buildings , this one was equipped not with partitioned stalls down both sides , but with a small fenced pen , with holding stalls at either side , and a sort of chute or runway along the back , with several gates that could be opened or closed to control a horse 's movement .