add naive image preloading for the root gif animation