tightening the animations and optimizing the images