add horizontalCenter and verticalCenter classes