added progress bar that animated while loading images