added touch device support (keyboard pop up)