displays month headers properly