make the hide/show buttons parameters