Controlled by mouse. If you put the diamond at the bottom of the screen, the layers will contract.
Credit to @Griffpatch for the tutorial.