Modified the layout of calendar.