added hack for lack of pointer-event in IE