adding reverse animation as well