debounce for lazy chart rendering on resize