Abstracts iframe resizing (resizer.js), moves tools panel open/close to page-preview.js