Better support for horizontal form

Fixed horizontal form and added addOption('parentClass') to
customization of control parent div class