added spinner functionality to map fragment