fix animation fade in fade out