Update index.html

updated sample to support dynamic docking