Example to make NSSplitView behave similar to Apple's "Notes" and "Mail" app