Correct sidebar rotation