Add new card layout and repacking to improve performance of XorPanel

Change-Id: Iabe7d5d96ff88d1e2a6c43ca25fc9e89b077681a
Remove prints for debug traces

Change-Id: I71c6468f45bc2f3588cce00d41a0a9a816502da0
Remove previous change that was unnecesary

Change-Id: I4d2ffee32a895b7951234308aea7744a3adef1e2
Remove unused method

Change-Id: I65a0ff80db2714a26fb6fd75c53eda6060c74b09