Kick the inline widget layout to render scrollbars when added

@njx Fix for #2529

* Resize the height of CSS inline editors when added and when the window resizes. 
* Use height auto at init instead of height zero
* Cleanup some event handling.

I thought this might fix #2522 as well but I was wrong.