creates container div and positions inner card divs relative to container div