Relying on the mouse events made the boxes on touch screens really
janky. I have:
- Made opening/closing the touch box purely use touchstart events
so it is more reliable and responsive
- Made tapping anywhere outside the box close it
- Refactored binding into separate link and div functions so that
the touch events can be bound correctly