checks to see if images are loaded before launching animations