modified example to have switchable divs that change depending on path
caching of selector string
replaced raw html example page with bootstrap template
navbar changed to fixed and fix for page content hidden by navbar