Basic framework for a tab host with swipe support