Untested cross-browser support.

Should now work in any browser that supports CSS animations.
Need to do a little testing though!