Only bind next/prev/close to click, not click and touchend

This fixes an issue in Android 4.2 browser where the handler fires twice (e.g. skipping an image when clicking prev/next).