Simplified code for WP 4.0
Fixed no margin appearing between a menu with only two items in RTL text.