feat(subprocess): Improve expand/collapse positioning

related to #CAM-1500