render form in side pane more nicely

fixes http://manage.dimagi.com/default.asp?117216