avoid full screen mode and get heigh resize and keyboard events for free