fixed scroll bar resizing when showing appointment dialog