Added touch events to the progressbar