Fix the panic condition, rename css transitions