Implemented \fad using animations instead of transitions because dirty setTimeout(0) hack doesn't work reliably in FF.