preload images when playing