Add gesture UI submenus and non-gesture-based switching.
Re-enable gesture-based switching whenever the finger does not end on a button.