Add navigation's minimize function.