Debounces resize_sidebar to prevent multiple redraws.