maintain pkg lists while changing tabs, closes #133