updated paging functionality to show month when flagged to do so