Added auto rotate component