fixed cache check in ImageSlide