using debounceresize

using debounce resize