slideshow prev/next fix

Signed-off-by: Jamie White <hello@jamie-white.com>