toggle the display on & off when clicking the button