refactor Cartesian product code to sub: displays+

This is a followup to #106. Now that the displays in sl_panda.t are preserved and removed from sl_panda1.t (thanks!) and this patch won't break any, I'd like to re-submit it on the same grounds.