hide map when leaving item page