move some display logic from js to css, and tweak to make nested notes play more nicely