fixed issue #280, divs now expand to encompass all content