slider: converted the example from xhtml to html