scroolbar fix for when to display scrollbars in ContainerDisplayWidget