#4939: Use visibility instead of display to hide buttons. Auto collapse on page load.