Manly keep their finals hopes alive in a thriller