This allows rotation of components within the array. I'm not sure if it's what I want, but it was an interesting exercise anyway.