correctly set horizontal class if additional html attributes have been passed in
bugfix?