Rotation of horiz. copmonents, and preparation of id list for correlating.