Fix sidebar issue

Prevent the sidebar from overlapping content.