optimised watcher and resizer