use p5.js to resize main div