Wait for keyboard to close before recalculating window height