toggle element visibility when checkbox is checked.