Minimalist JavaScript class for handling device-agnostic touch/click gestures.