Tor Browser uses a Firefox setting which locks the window to specific sizes to help reduce fingerprinting by unusual resolutions / window sizes.
Enabling that setting prevents the browser from being resized or maximized.
Opening a browser sidebar changes the width of the document, which presumably can be used to differentiate from someone who doesn't.
None of this depends on JavaScript being enabled, so disabling JavaScript is not a solution (besides which, disabling JS would also present a different fingerprint).
The best place to ask about this is somewhere where all the above doesn't need to be explained.
There's various options listed at
https://www.torproject.org/contact/