input: re-organize touch input handling to make it more generic and move it into its own lib
touch: add touch gesture detectors for pinch/zoom, rotate and swipe
touch: make the touchscreen's DPI available to gesture detectors
slideshow: use swipe left/right gestures instead of manual swipe detection based on pan gesture