Update sidebar-selection width to match parent scrollWidth

Fix for #4124 

Use the selectionMarker's parent scrollWidth instead of the sidebar's width.