refactor view and styling to allow a global dashboard