PP will now remember if panel was collapsed or not

Replacement for #20.