fixed styling with resizing of forms