added support for location bar in slideshow

- added a common css document to all templates
- simplified some javascript after learning more
  about frames.
fixed merge conflicts