expose 'size' property and make sure transitionEnd is called