Support periods in animations