autoresizing to parent element of wrapperEl (or window if such does not exist)