returning a cancellation callback for Vue to use during enter and leave
updated dimmer to use a transition