Pre-ejaculate contains sperm and ANY instance of pre-ejaculation CAN contain active sperm. Sperm do not get tired or sluggish or depleted in numbers just because there was a pre-ejaculation or ejaculation earlier. Likewise, position does not really factor into chances of being pregnant--sitting, kneeling, lying, standing, etc. all can result in pregnancy IF the fluid gets near the moisture of the vagina (unless the woman still has her clothing on). However, the chances of pregnancy are very, very slight with the situation you describe. First, 5 seconds, no penetration, no ejaculation all reduce the chances. Her menstrual period drops those chances to nearly or complete zero--no egg to fertilize because the lining of the uterus is already sloughed off and she's bleeding. As always, the only measures to vastly reduce pregnancy are abstinence or contraception / condom, or only oral sex.