Mendis ton revives Lanka hopes against Aussies