Added smooth CurObj box resizing