Sleeping dog manages to scare off massive leopard