Galloping instability and control of a rigid pendulum in a flowing soap film