Use classes instead of inline styles for hiding / showing

There's a subtle difference here in that something that was hidden by default could no longer be shown. I wonder if that will be an issue. The more accurate name for this new approach would be `unhide`.