Many of the ESRI demos have this as a feature. You have a handle that you can drag across the map (left-right). As you "swipe" from one side to the other, the top layer is "peeled back" to reveal the layer under it. If you stop in the middle, you'll essentially have a split screen showing 2 layers.