moving map to first active tab so previous settimeout is not necessary