Turn a display object into a sliding panel