Changed display:none to visibility:hidden