Small bugfixes in the slideshow module.

Does that mean that we can remove this function as well?