Adding auto-rotate for browser controller