implemented dynamic domain resizing on calendar. yay.