Move `margin-note*` in math docs to work around issue with Firefox

Please merge to v6.1