Refactor the splitter code out of Session/MessageStackView