more changes to new default theme

kinda sorta works now. the JS is fairly fragile though.