Added the ability to align center and right.