Adding touch events handling.