fixed resizing bug
removed gizmo code