changed name of the var, added missing white space
changed toggling visibility to toggling display