support for rotation on switch sets page, cleaned imports