fixed keyboard showing/hiding issue