fixing animation after completion function bug

Fix animation bug