better margins for boxes
make the doc version have its own id