Javascript slideshow, with touch/swipe support