add slider code to html