use ended event for end of video detection; stop slideshow on manual pauses