Pause and resume methods in API

Since the easiest way to pause is to just stop the slideshow, I re-set the delay and re-start the slideshow from scratch for the resume. Might be a better way to do this but this approach seems to work fine.