added clear mixin for right-to-left