Added ability to close keyboard with swipe gesture

This will allow us to simulate controls (messages app, e.g.) that allow the same by default.