onclick switched to header instead of entire card