adding debounce resize