updated leaflet code for mobile display