refreshes animation