A flip-flopper is an intelligent person who changes position when the circumstance changes.
or simply: