Fixed calendar first visiable date and last visiable date functions