Javascript slider for mobiles and tablets based on touch events. Using CSS3 transitions