This PR logically places the sidebar in its appropriate position and resolves the issue of not opening the sidebars when there are no messages in the channel.
Acceptance Criteria Fulfillment
[x] Fixes the issue of not opening sidebars when there are 0 messages in the channel.
[x] Logically places these sidebars in the appropriate location in the code.
Brief Title
This PR logically places the sidebar in its appropriate position and resolves the issue of not opening the sidebars when there are no messages in the channel.
Acceptance Criteria Fulfillment
Fixes #558
Video/Screenshots
https://github.com/RocketChat/EmbeddedChat/assets/78961432/05a63068-ecef-4baa-8767-daa497007a4a