fixed orientation and style issues for right edge
UIComponent now accepts 'style' property