fixed a bug where shrinking the DF window would cause the sidebar to be obscured