Making map markers work with slide effect