Preload handling added to slides media. 2 before and 2 after the current slide are loaded when there's a slide change.