Basic slider for touch devices written in Jquery