Tweak to layout visibility

Using CSS visibility property over display property.  Measurements on display do not take place consistently when set to none.