Add swipe events. Optimise var declarations. Use CSS to show and hide nav. Add touch feature detection. Hide nav buttons if touch.