Twofix... threebreak

I moved around a bit of things related to both css and javascript, so better review carefully...