By formatting I think you mean that scrolling bar.

By removing the sub categories it is likely that the height of the fg was cut short. Make sure the fg has the exact same height of the page and that the setting is to float relative to “both”. This should bring its functionality back to reflect the only visible elements that you want shown and eliminate the need for Bubble to activate the scroll bar automatically.