Changed resize in mml.js to use parent wrapper div not window.