auto resize boxes (including notes)