synchronize animation not working