when she reached it , she found it consisted of a set of moving targets , each of which was attached to a long iron rod which sometimes swung like a pendulum , and sometimes slid from side to side or up and down .