Replaced flex-flow with flex-direction to avoid conflicts when
flex-direction property is set using setOrientation.