make a nice function for generating invisibility toggle buttons