Changed how main navigation works in tablet mode.