add custom event: resize end
add debounce