slideshow.js: resizing problems, bug in top alignment, ...

This fixes some more bugs in the showImage-function:

using naturalWidth, naturalHeight instead of width, height.

correctly setting top to 0.

using maxScale:1 istead of using 1:1 for small images