Listen to mousedown/mouseup instead of touch.press/touch.release.
This avoids the problem where scrolling the list on a touch device inadvertently
selects an item.

Clicking on touch devices is covered by the click listener.

Fixes #17388.