preloading next and previous slides