Add cross-browser support for icon flipping