Add panTo method