fix binding of touch events