fixed time cycle 'switch' function on IE