Automagical DOM rotate