window resize event for content editable & exe commands dependency