auto rotate works