Cater for touchscreen laptops, fix event deregistering, revert class check code
This release is an attempt to cater for touchscreen laptops (where they have both touch and click available), reverting to class and id check loop code back to 2.2.1 version to solve bugs reported by @rbnvrw.