[bugfix][s]: track down & fix bug related to showing dashboard when not wanted (finally).

* Been trying to fix this in the last few commits!
* Bug description: dashboard kept showing up when project view should be shown.
  Ultimately realized issue is that in c0938e85ebe8d06df398d4c4850ad0fb06287003
  we started listening to changes in datasets in dashboard view and
  re-rendering. The views are set up so core div with class "view {page}" were
  *in* the template so on re-render we were over-riding this div and in so
  doing so making the view visible again as the "display: none" was being set
  on the div inside the template.
* Fix: set the relevant css ("view {page}") at the top level div of a view
  rather than in the template