adds jquery card flip and other styling