moved view styles to their own block