use CSS to show and hide buttons, refs #187