GF-61429: Use posProp varibale to reduce conditional branch

We can refer to top and left or right according to orientation and rtl
option. For making it simple and further works, use intermediate term

Enyo-DCO-1.1-Signed-off-by: David Um david.um@lge.com