adding hacks for IE8-9 to make image swaps not show stale image flashes