unexpected crazy javascript for fucking buttons sliders touch events