update elementcontroller class to handle pos, width and area as lohi or fixed