The javascript for the slideshow animation is currently embedded in the layout. It would be nice to generalize it and include it in the _scripts directory where it belongs. This ensures it gets included only once. It may need some modification to support multiple slideshows in one document.