How a swing behaves