fix close nav bug on touchscreens