changed the layout and calendar details loading