Resize sidebar-selection when toggling sidebar display