implement end search, marker move, clean up toggle