Dev leaflet switch