Fix issue #804

Branch list no longer overflows out of the screen when there're too many branches locally.