Update expander rotation to work in all browsers.