make panel transitions work with scoped keyframes.