putting cards on top/bottom