Pendulum Universe