implement new logic when switching browse mode