My simple code makes the slider clickable and on click will change slides. Now there is animation between slides a little bit broken. The only element with class "conte