add hideOnDocClick option
fix bug on canlendar having preset period