Added linear preloading for smoother animation