Fix element hiding and showing, using a less forceful method.

The `jQuery::show` injects inline styles, to force the element visible. This interferes with other styling.