update example.html to include demo for nested list

also separate styles classes & js functionality, this makes it more easy to add new items without having to deal with styling issues.
Would be nice if you could change this to `max-width` to make stuff responsive.