adds animation for live-reloading