Changed how the frame rotates