update keyboardDeviceHeight on orientationchange