modified cardpixmap size and added support to display cards turned upside down