Labels left and right

Would appreciate a review of my fairly straightforward changes.  This works for all the features in example/label.html