refactored Geojson layer action in slider part of layout