Separate viewshare state into separate sls files.