update platform with PointerGesture shadow dom polyfill branch