Controlling all visibility via .hidden class instead of style property.