formatting
split out different document views
add touch handlers to change doc view via swiping