Properly group months into rows. Add option to hide empty sixth row