slideshow now rotates pics properly and buffers the next pic