Implemented a basic but pretty poor method for positioning the cards