adding the proper loop to slice the lesson view up by months and weeks