getting event bindings organized, actual resizing code coming soon.