layout changes; hide/show controls