toggling a views visibility should happen on the render queue.
misc view.js OCD
Merge pull request #4349 from stefanpenner/misc-view-cleanups

Misc view cleanups