fix ie8 resize event