Convenient function to combine Layer and LayerPosition into Pair<Layer, LayerPosition>.
Pair<Layer, LayerPosition>
the layer id to be added above to
the index to be added at
the layer id to be added below to
the layer to add