A pendulum with a moving support point