Use of CSS visibility instead of .opacity