Does this need to re-initialized each time, or can it just be setup in the html template file and hidden/shown as needed?