Leafs nip Panthers in shootout