add support for direction and legacy support in ie to inline-block-list-item