Support animation of visibility.