Add CSS transition support

So another way to look at it, if you see

```js
setActiveState('foo', true);
```

Is it obvious what the `true` is doing?