slideshow.js: fixed aspect ratio, $(window).resize, added image.onerror, fixed preload at first/last