Moved view logic into storyView module