Make example work on touch screen as well (e.g. Firefox on Android on Samsung Galaxy S3).