commit by jayli fix window.resize @ ie6/7/8