fix some issues with scrollbars