add redirect handling in preloadSlide