added redo search for when the map is moved