the maintenance frame itself was attached to its base by a complex arrangement of three sets of rotating bearings , built at right angles to each other , so that the frame could be spun around into any conceivable orientation .