parameterizable open doc event (like ontap, ontenter)

mobile devices: open doc with ontap (it is working with scrolling)
desktop version: open doc with onenter