adjust start and end of intersecting group relative to selected region