more smooth and reliable password visibility toggle mechanism