Added more versatile way to manage the default bevahiour of touch events.