A couple of experiments you might try. That chain looks pretty loose, and I would not be surprised if just tightening it stopped that whipping. Compare it to the one you have that does not do that. Make sure it is well lubed as well. See if the sprockets are rotating off center. Looks pretty...