Implemented bidir binding directives; not sure if they work 100% yet