Fix bug: on ie 7 & 8, isAppeared function didn't work.