include css animations and update loading icon