A woman on board a United Airlines flight claims she was told to return to her seat after reporting the man beside her for performing lewd acts. After informing flight attendants that the man was masturbating, the woman was permitted to remain standing for part of the flight, but was then ordered to return to her seat for landing.