Update to adapter to dynamically assign card dimensions, and be better than Dave.