we should be doing all this via a class name 'hidden' for example rather than assessing the style property of the DOM node