core-transition: a helper to manage element transitions