compute width after resizing $formdesigner

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