Why was the world predicted to end in 2012?

The Mayan calendar ended and started over so people are freaking out that we are all going to die.... but seriously they cant keep the calendar going forever