check if map container is on page