Further refined dismiss gesture. Also added a new focus view.