Fix detail page for leaflet (#8) and improve mobile support