Fixed slideshow on reload and on transition from another page (AJAX)