close minimap window automatically