debounce is in and working, the code that is calling it has a bug and is not resizing the scrolling container correctly.