Add transition support

- Based on source from rxaviers/jquery-ui (hash branch) at c74f6f4;