created function closeInfoWindows, in use when clicking on nav thumbnail