animated wave switching