slideshow.py: handle invalid orientation values
slideshow.py: a little documentation