add tray switching