connecting camera to the animation widget