fixed rotate for all browsers