ifs animation demo