MonthView is the ten lines or less version. It is not nearly as cool as your code but there are limits to what you can achieve in just ten lines.