fixed layout and sizes in menu; moved menu to javascript (still to fix)