Example 2

This show the layer appears from left or right.