include preload within crossfade function