fixed loading of bootstrap
updates to css and js loading and gallery image loading