Version of keyboard resizing