works in ie8 (with glitches)