Get rescaling of UI to work in Firefox

NB setting 'transform-origin' in JavaScript (e.g.
elt.style['transform-origin'] = 'top left') doesn't appear
to work in Firefox, so I pushed the rule into the CSS file.