[touch] Do not change device orientation on opening Android software keyboard

Check changing width in 'onresize' event: when android opens keyboard, it changes only device height