fix Arrow API
fix arrow direction problem
fix CaseViewer
Merge remote-tracking branch 'origin/layout-refactoring'

Conflicts:
	src/CaseViewer.js
	src/CaseViewer.ts
	src/Layout.js
	src/Layout.ts
merge layout