fix(onVisible): Added support for touch events.