added support for pictures slide show