Now on resize it reupdates itself.

It does this every 50ms. From my usage I've seen it takes less than
10ms for the function to complete so 50ms sounds reasonable.
New features