Fix carousel and pageflip in IE/FF