debounced resize event for jQuery