Subcritical Instability and Hysteresis in a Two-Layer Model.