rework ui for branches