Fixing rotation in webkit browsers