improving text gradient animation and fallback for firefox