slideshow images now scale 100% width.
made it so slideshow only runs on homepage.
cleanup code