Viewport: emit resize event when keyboards shows/hides.
reposition and resize centered popups when when keyboard shown/hidden, and when viewport changes size