address issue 218: switch functions shown on page scroll.