added preloading images for smoother animation