improvements to the grouping right rail