uikeyboard stuff (before move)