added pointerEvent style support