hacks together some logic to see if map has already been rendered, and if so, remove the div and add it back. Needed if user searches for more images than they did on the initial search