Swipe to go back gesture closes down keyboard first