fix IE 8 pageX does not exist