Added Autorotate support for landscape mode