reduce layout thrashing by debouncing a little