[fix] toggle between search and directions  tab