animation will not play if map is not visible