window: don't let the sidebar shrink to less of what it requested