improvement on html generation

> ok so i realized i didn't need the tag Name to cycle thru the slider
since .children() abstracts it so well.
> created the function 'AssignDisplay' with comments. cleaning up the
code and making it more generic.