fixed #38 and made custom widget layout when loading calendar