view switcher for dam