Improves show/hide animation API