Improved drawing and auto-layout contraints for split view