Finishing animations and upgrading loading time with optimized images