fixed up things for chrome 26 as rotate no longer worked