made hideKeyboard more robustify
Merge pull request #53 from 0x1mason/hide_keyboard_ios

made hideKeyboard more robust