add visible <-> invisible transition animation