Adds support for pulling the layer in from the corners. Also adds fullscreen support.