Probably a slightly more elegant way to do this, but currently have a gesture to dismiss keyboard.