storymap6: adding the code for swipping the layer group