Using Flex command

I wish to know whether it is possible to keep red component parallel to top plane while bending.

SolidworksParts And Features