readded auto rotate