slideshow styles and initial javascript placement