Year-end tax surprises are no fun, and you may be surprised to learn that it’s possible owe capital gains taxes even though your account is down in value for the…