add dynamic animation